/**
 * CopyRight © 2012 USTC SINOVATE SOFTWARE CO.LTD All Rights Reserved.
 */

package com.cmcc.zysoft.infocollection.service;

import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.cmcc.zysoft.infocollection.dao.AreasPcDao;
import com.cmcc.zysoft.infocollection.model.Areas;
import com.starit.common.dao.hibernate.HibernateBaseDao;
import com.starit.common.dao.service.BaseServiceImpl;

/**
 * @author 袁凤建
 * <br />邮箱: yuan.fengjian@ustcinfo.com
 * <br />描述: AreasPcService.java
 * <br />版本: 1.0.0
 * <br />日期: 2013-8-28 下午5:23:00
 * <br />CopyRight © 2012 USTC SINOVATE SOFTWARE CO.LTD All Rights Reserved.
 */

@Service
public class AreasPcService extends BaseServiceImpl<Areas, Integer> {

	@Resource
	private AreasPcDao areasPcDao;
	
	@Override
	public HibernateBaseDao<Areas, Integer> getHibernateBaseDao() {
		return this.areasPcDao;
	}
	
	/**
	 * 根据城市ID查找区县信息.
	 * @param cityId 城市ID
	 * @return List<Map<String, Object>>
	 */
	public List<Map<String, Object>> areas(String cityId) {
		return this.areasPcDao.areas(cityId);
	}
}